<?php
/* @var $this TreatmentController */
/* @var $model Treatment */

$this->breadcrumbs=array(
	'Diagnosis'=>array('index'),
	$model->id,
);

$this->menu=array(
	array('label'=>'List Treatment', 'url'=>array('index'),'visible'=>Yii::app()->user->checkAccess('practitioner')),
	array('label'=>'Create Treatment', 'url'=>array('create'),'visible'=>Yii::app()->user->checkAccess('practitioner')),
	array('label'=>'Update Treatment', 'url'=>array('update', 'id'=>$model->id),'visible'=>Yii::app()->user->checkAccess('practitioner')),
	array('label'=>'Delete Treatment', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?'),'visible'=>Yii::app()->user->checkAccess('practitioner')),
	array('label'=>'Manage Treatment', 'url'=>array('admin'),'visible'=>Yii::app()->user->checkAccess('practitioner')),
);
?>

<h1>View Diagnosis #<?php echo $model->id; ?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'id',
		'healthCondition.health_condition',
		'modality.modality_name',
	),
)); ?>
